{include file="header.tpl" title="Duyet BCTC "}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr> 
  <tr>
    <td width="25%">{$lbl_MABC}</td>
     <td style="color:#FF0000"><input name="MABC" id="MABC" type="text" style="background:{$colorMABC}" value="{$MABC}" size="20" maxlength="5"/>
      *   <input type="submit" id="replacement_find" name="find" value="    " />   </td>
	  <td nowrap="nowrap">{$lbl_LOAIBC}</td>
    <td><select name="LOAIBC" id="LOAIBC" size="1" style="width:100px;">
		<option value="">
      {foreach from=$LOAIBC key=k item=v}
	  	<option value="{$k}" {if $k eq $activeLOAIBC} selected="selected" {/if} >{$v}</option>
	  {/foreach}
    </select></td>
  </tr> 
  <tr>  
    <td nowrap="nowrap" width="25%">{$lbl_NGAYBC}</td>
    <td><input name="NGAYBC" id="NGAYBC" type="text" style="background:{$colorNGAYBC}" value="{$NGAYBC}" size="20" readonly="readOnly" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)"/></td>
	 <td nowrap="nowrap">{$lbl_LOAITIEN}</td>
     <td colspan="3"><span style="color:#FF0000">
       <select name="LOAITIEN" id="LOAITIEN" size="1" style="width:100px;">
	   	<option value="">
         {foreach from=$LOAITIEN item=curr}
		      <option value="{$curr}" {if $curr eq $activeLOAITIEN} selected="selected" {/if} >{$curr}</option>				
		{/foreach}
       </select>
     </span></td>
  </tr>
  <tr>
    <td>{$lbl_MACT}</td>
    <td colspan="3" style="color:#FF0000"><input name="MACT" id="MACT" type="text" style="background:{$colorMACT}" value="{$MACT}" size="50" maxlength="50" readonly="true"/>
      * </td>
  </tr>
  <tr>
    <td width="25%" nowrap="nowrap">{$lbl_TENCT}</td>
    <td style="color:#FF0000" colspan="3" nowrap="nowrap"><input name="TENCT" id="TENCT" type="text" style="background:{$colorTENCT}" value="{$TENCT}" size="50" maxlength="1000" readonly="true"/>
      *</td>
  </tr>         
  <tr>
    <td>{$lbl_DND}</td>
    <td colspan="3"><input name="DND" id="DND" type="text" style="background:{$colorDND}" value="{$DND}" size="50" maxlength="200"  readonly="true"/>
    <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_DNC}</td>
    <td colspan="3"><input name="DNC" id="DNC" type="text" style="background:{$colorDNC}" value="{$DNC}" size="50" maxlength="200"  readonly="true"/> <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_DCD}</td>
    <td colspan="3"><input name="DCD" id="DCD" type="text" style="background:{$colorDCD}" value="{$DCD}" size="50" maxlength="200"  readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_DCC}</td>
    <td colspan="3"><input name="DCC" id="DCC" type="text" style="background:{$colorDCC}" value="{$DCC}" size="50" maxlength="200"  readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_PSN}</td>
    <td colspan="3"><input name="PSN" id="PSN" type="text" style="background:{$colorPSN}" value="{$PSN}" size="50" maxlength="200"  readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_PSC}</td>
    <td colspan="3"><input name="PSC" id="PSC" type="text" style="background:{$colorPSC}" value="{$PSC}" size="50" maxlength="200"  readonly="true"/>
      <small>(1)</small></td>
  </tr>
  
  <tr>
    <td>{$lbl_CLND}</td>
    <td colspan="3"><input name="CLND" id="CLND" type="text" style="background:{$colorCLND}" value="{$CLND}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_CLNC}</td>
    <td colspan="3"><input name="CLNC" id="CLNC" type="text" style="background:{$colorCLNC}" value="{$CLNC}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  
  <tr>
    <td>{$lbl_CLCD}</td>
    <td colspan="3"><input name="CLCD" id="CLCD" type="text" style="background:{$colorCLCD}" value="{$CLCD}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_CLCC}</td>
    <td colspan="3"><input name="CLCC" id="CLCC" type="text" style="background:{$colorCLCC}" value="{$CLCC}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_LPSN}</td>
    <td colspan="3"><input name="LPSN" id="LPSN" type="text" style="background:{$colorLPSN}" value="{$LPSN}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  <tr>
    <td>{$lbl_LPSC}</td>
    <td colspan="3"><input name="LPSC" id="LPSC" type="text" style="background:{$colorLPSC}" value="{$LPSC}" size="50" maxlength="200" readonly="true"/>
      <small>(1)</small></td>
  </tr>
  
  <tr>
    <td>{$lbl_CONGTHUC}</td>
    <td colspan="3"><input name="CONGTHUC" id="CONGTHUC" type="text" style="background:{$colorCONGTHUC}" value="{$CONGTHUC}" size="50" maxlength="200" readonly="true"/>
      <small>(2)</small></td>
  </tr>
   <tr>
    <td>&nbsp;</td>
    <td colspan="3"><input name="TOTAL" id="TOTAL" type="hidden" readonly="true"/></td>
  </tr>  
  <tr>
   <td colspan="4" style="color:#0033CC"><br />&nbsp;&nbsp;&nbsp;&nbsp;{$EX1}</td>
  </tr>
  <tr>
  <td colspan="2" style="color:#0033CC" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;{$EX2}</td>
  <td colspan="2" style="color:#0033CC">
	  <input type="button" name="themmoibctc" id="themmoibctc" value="{$ten_them_moi}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" style="visibility:hidden;">
      <input type="button" name="capnhatbctc" id="capnhatbctc" value="{$ten_cap_nhat}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" disabled="disabled" style="visibility:hidden;"/>
	  </td>
  </tr>
<tr>
<td colspan="4" align="center">
	<div align="center" style="width:680px;height:300px;overflow:auto;border:1px solid #6B82AC;">
<table border="0" cellpadding="0" cellspacing="1" id="tblSample" >
  <thead>
  <tr>  
	<th></th>
  	<th>{$lbl_stt}</th>
    <th>{$lbl_MACT}</th>
    <th>{$lbl_TENCT}</th>
    <th>{$lbl_DND}</th>
    <th>{$lbl_DNC}</th>
    <th>{$lbl_DCD}</th>
	<th>{$lbl_DCC}</th>
	<th>{$lbl_PSN}</th>
	<th>{$lbl_PSC}</th>
	<th>{$lbl_CLND}</th>
	<th>{$lbl_CLNC}</th>
	<th>{$lbl_CLCD}</th>
	<th>{$lbl_CLCC}</th>
	<th>{$lbl_LPSN}</th>
	<th>{$lbl_LPSC}</th>
	<th>{$lbl_CONGTHUC}</th>
	<th>{$lbl_LOAIBC}</th>
	<th>{$lbl_NGAYBC}</th>
	<th>{$lbl_LOAITIEN}</th>
	<th></th>	
  </tr>
  </thead>
  <tbody></tbody>
</table>
</div>
</td>
</tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
   <td align="right" nowrap="nowrap" colspan="4">
  <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'CURCODE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input value="{$lbl_tuchoi}" name="tuchoi" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}/>
 <input value="{$lbl_duyet}" name="duyet" type="submit" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" {if $activefield eq 'disabled' }disabled="disabled" {/if}  />  </td>
</tr>
<tr>
<td colspan="4"><input value="{$lbl_lichsuthaydoi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_BCTC.php?id={$MABC}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
</tr>
<tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td colspan="2" >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$tbldata}
{$javascriptsetstyle}
{include file="footer.tpl"}
